package cn.neusoft.feignClients;

import cn.neusoft.domain.Allocate;
import cn.neusoft.interceptor.FeignInterceptor;
import cn.neusoft.vo.ResultBean;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

@FeignClient(value = "customer-server", configuration = FeignInterceptor.class)
public interface CustomerFeignClient {

    @GetMapping("/order/countMatchingOrders/{commodity_id}")
    int countMatchingOrders(@PathVariable String commodity_id);
}
